When I open my pages in an editor such as Dreamweaver,
the Whitebeam JavaScript code is visible and my pages don't display properly.
By default, web editors will not recognise pages that include
Whitebeam server-side code and so they will display in on screen upsetting
the WYSIWYG display of the page you are designing. Some editors can be "taught"
to understand the Whtiebeam Tags and JavaScript so that the pages display
properly. Macromedia's Dreamweaver is one such editor, configuration files
can be found in the tools section of the
reference documentation.
Is there any way we can view the values stored in the variables when
we test our pages?
The easiest way is to use rb.debug.write() method calls in your code to print out
the variable values to the "debug stream". This output is then
visible by default when a site is in test mode and disabled by default when
a site is in live mode. The widgets collection
in the sample code section also contains some useful include files.
When we test our pages, if there is an error, the system shows a debug
message. Will these messages be visible when the site goes live?
By default the output from all rb.debug.write()
messages are disabled when a site is operated in live mode. This default
behaviour can however be overridden if required by use of the rb.debug.mode()
method.